package com.school.base.dao;

import java.util.List;

import com.school.base.model.Subject;

public interface ISubjectDao {
	public Subject getSubjectById(int id);

	public List<Subject> getSubjectList(Subject subject, int offset, int pageSize);

	public int getTotalCount(Subject subject);

	public void updateSubject(Subject subject);

	public void deleteSubject(int id) throws Exception;

	public void insertSubject(Subject subject);

	public List<Subject> getAll();
	
	public void moveUp(int id);
	
	public void moveDown(int id);
}
